<?php

class admin_controllers_order extends basecontroller{
    function index(){
        $is_admin=admin_models_index::_is_logged();
        if (!$is_admin){
            header('location: index');
        }

        require_once(ADM_TEMPLATE.'header.php');

        $res = admin_models_order::get_order();

        $view = new router;
        require_once ($view->getView());

        require_once(ADM_TEMPLATE.'footer.php');
    }
}